<?php
/**
* @package RAMFeaturedjobs
* @version 1.5.0 Stable, June 2009
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// ---------------- get the user details ---------------
$user =& JFactory::getUser();
$myrealname=$user->get('name');
$myusername=$user->get('username');
$myuid=$user->get('id');

// include the helper file
require_once( dirname(__FILE__).DS.'helper.php' );

// get our runtime parameters
$no_to_display = trim( $params->get( 'no_to_display' ) );
$Itemid = JRequest::getVar('Itemid', '' ,"REQUEST");

global $msg;

$msg = "";

// get the n Featured jobs from  Recruitment Agency Manager
$jobs = mod_RAM_FeaturedjobsHelper::getFeaturedjobs($no_to_display);

require( JModuleHelper::getLayoutPath( 'mod_RAM_Featuredjobs' ) );

?>
